package com.sevattal.service.leaves.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.sevattal.service.leaves.entity.InOutWarehouseChildOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sevattal.service.leaves.entity.vo.InOutWarehouseChildOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 出入库子表 Mapper 接口
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
@Mapper
@Repository
public interface InOutWarehouseChildOrderMapper extends BaseMapper<InOutWarehouseChildOrder> {

    List<InOutWarehouseChildOrderVo> getInOutChildOrderList(@Param(Constants.WRAPPER) QueryWrapper<InOutWarehouseChildOrder> childOrderQueryWrapper);
}
